<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title></title>
    <%= htmlWebpackPlugin.options.load %>
      <style type="text/css">
          #before{
              position: fixed;
              z-index: 100000;
              top:0;
              left:0;
              bottom: 0;
              right: 0;
              background: #f2f2f2;
          }
          #before .logining{
              width: 100%;
              position: absolute;
              top:50%;
              transform: translateY(-50%);
          }
          #before .logining::before{
              content: "";
              display: block;
              width: 100px;
              height: 100px;
              background: url("./logining.svg") no-repeat center center;
              background-size: cover;
              margin: 0 auto;
          }
          #before .logining h2{
              font-size: 14px;
              color: #666;
              text-align: center;
          }
          #before .login-error{
              display: none;
              width: 100%;
              position: absolute;
              top:50%;
              transform: translateY(-50%);
          }
          #before .login-error::before{
              content: "";
              display: block;
              width: 95px;
              height: 95px;
              background: url("./login-error.svg") no-repeat center center;
              background-size: cover;
              margin: 0 auto 5px auto;
          }
          #before .login-error h2{
              font-size: 14px;
              color: #666;
              text-align: center;
              width: 95%;
              margin: 0 auto;
          }
      </style>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <div id="before">
        <div class="logining">
            <h2>正在登录中...</h2>
        </div>
        <div class="login-error">
            <h2>登录失败</h2>
        </div>
    </div>
    <!-- built files will be auto injected -->
  </body>
</html>
